Fictional Separation Logic

نویسندگان

  • Jonas Braband Jensen
  • Lars Birkedal
چکیده

Separation logic formalizes the idea of local reasoning for heap-manipulating programs via the frame rule and the separating conjunction P ∗ Q, which describes states that can be split into separate parts, with one satisfying P and the other satisfying Q. In standard separation logic, separation means physical separation. In this paper, we introduce fictional separation logic, which includes more general forms of fictional separating conjunctions P ∗ Q, where ∗ does not require physical separation, but may also be used in situations where the memory resources described by P and Q overlap. We demonstrate, via a range of examples, how fictional separation logic can be used to reason locally and modularly about mutable abstract data types, possibly implemented using sophisticated sharing. Fictional separation logic is defined on top of standard separation logic, and both the meta-theory and the application of the logic is much simpler than earlier related approaches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Separation Logic for Fictional Sequential Consistency

To improve performance, modern multiprocessors and programming languages typically implement relaxed memory models that do not require all processors/threads to observe memory operations in the same order. To relieve programmers from having to reason directly about these relaxed behaviors, languages often provide efficient synchronization primitives and concurrent data structures with stronger ...

متن کامل

Beyond Reachability: Shape Abstraction in the Presence of Pointer Arithmetic

Previous shape analysis algorithms use a memory model where the heap is composed of discrete nodes that can be accessed only via access paths built from variables and field names, an assumption that is violated by pointer arithmetic. In this paper we show how this assumption can be removed, and pointer arithmetic embraced, by using an analysis based on separation logic. We describe an abstract ...

متن کامل

Young children separate multiple pretend worlds.

Each fictional world that adults create has its own distinct properties, separating it from other fictional worlds. Here we explore whether this separation also exists for young children's pretend game worlds. Studies 1 and 1A set up two simultaneous games and encouraged children to create appropriate pretend identities for coloured blocks. When prompted with a situation that required the use o...

متن کامل

A Sociological Study of Iranian Women’s Role in Fictional Literature in the Recent Two Decades

Fictional literature has experiencedan increasing and stunning growthof women writers in the past two decades. In terms of quality and quantity, theincrease was to the extent that nowadays women’s names are mentioned sometimeseven more than men’s amongthe distinguished writers ofcontemporary Iranianliterature. On the other hand, these authors have often chosen the novel astheir main literary fo...

متن کامل

A Contrastive Study of Theme in English and Azerbaijani Turkish Fictional Texts

Thematisationis one of the troublesome areas both for translation purposes from or into English and also for learning EFL. The main reason for the problem lies in the fact that usually different languages structure thematisation in different ways. Therefore, the present research is an attempt to investigate contrastively: experiential (topical), interpersonal and textual themes in a sample of A...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012